package com.tongqu.message;
import com.tongqu.entity.Login;
import lombok.Data;
import lombok.ToString;

@Data
@ToString(callSuper = true)
public class LoginMessage extends Message {
    private Login Login;

    public Login getAccount() {
        return Login;
    }

    public void setAccount(Login account) {
        this.Login = account;
    }

    public LoginMessage() {
    }
    public LoginMessage(int id, Login account) {
        this.id = id;
        this.Login = account;

    }

//    @Override
//    public int getMessageType() {
//        return LoginMessage;
//    }
}
